Dollie\Core\Utils\Helpers D

Total Complexity 202
Dependencies 16
Dependents 5
Total lines 1,467
Lines of code 725
Logical lines of code 324
Comment lines 524
Methods 108
Properties 0

Methods 108

Method Rating Maintainability Complexity Lines of code
get_site_screenshot()
A
48 14 29
final_customer_login_url()
A
46 11 39
get_containers_data()
S
48 6 33
in_array_r()
S
62 7 11
get_current_object()
S
53 6 24
get_current_site_id()
S
54 6 22
get_customer_user_role()
S
58 6 15
maybe_decode_json()
S
60 6 14
format_size_units()
S
59 6 14
get_container_url()
S
59 5 13
get_latest_container_url()
S
57 3 17
get_customer_login_url()
S
61 3 12
count_customer_staging_sites()
S
55 2 22
could_not_connect_message()
S
53 1 31
count_customer_containers()
S
59 2 16
remove_element_with_value()
S
67 3 8
has_dollie_layout_widget()
S
63 3 10
get_site_url()
S
68 3 7
is_blueprint_staging()
S
66 3 8
is_plugin_active()
S
65 3 9
get_container_staging_url()
S
64 3 10
count_total_blueprints()
S
55 1 22
get_login_page_id()
S
69 2 7
get_sites_page_id()
S
69 2 7
is_blueprint()
S
70 2 6
is_live()
S
77 2 3
get_launch_page_id()
S
69 2 7
acf_get_database_field_group_keys()
S
67 2 8
convert_to_readable_size()
S
63 2 9
get_launch_blueprint_page_id()
S
69 2 7
get_preview_url()
S
68 2 7
get_dashboard_page_id()
S
69 2 7
load_template()
S
69 2 7
staging_limit_reached()
S
78 2 3
random_string()
S
65 2 8
supported_plugins()
S
62 1 13
count_total_containers()
S
64 1 11
can_manage_all_sites()
S
80 1 3
get_allowed_commands_in_progress()
S
81 1 3
get_woo_checkout_link()
S
68 1 8
get_total_container_size()
S
81 1 3
get_allowed_bulk_commands()
S
81 1 3
get_latest_container_posts()
S
81 1 3
get_site_posts()
S
81 1 3
get_containers_themes()
S
80 1 3
get_container_themes()
S
80 1 3
get_support_link()
S
79 1 3
is_valid_domain()
S
79 1 3
get_elementor_template_types()
S
73 1 5
get_execution()
S
79 1 3
get_domain_existing_records()
S
80 1 3
get_domain_records()
S
80 1 3
get_domain_allowed_caa_tags()
S
81 1 3
check_bulk_actions()
S
81 1 3
get_bulk_actions()
S
81 1 3
remove_execution()
S
80 1 3
get_execution_status()
S
79 1 3
is_plugin_installed()
S
75 1 4
save_execution()
S
79 1 3
get_api()
S
81 1 3
get_container_plugins()
S
80 1 3
is_preview()
S
79 1 3
can_view_all_sites()
S
80 1 3
get_wp_site_data()
S
79 1 3
get_containers_plugins()
S
80 1 3
has_subscription()
S
81 1 3
regenerate_containers_screenshot()
S
80 1 3
get_launch_page_url()
S
80 1 3
get_login_page_title()
S
80 1 3
get_login_page_url()
S
80 1 3
get_dashboard_page_title()
S
80 1 3
get_dashboard_page_url()
S
80 1 3
get_launch_blueprint_page_title()
S
80 1 3
get_launch_blueprint_page_url()
S
80 1 3
get_launch_page_title()
S
80 1 3
convertToReadableSize()
S
80 1 3
get_sites_page_title()
S
80 1 3
secret_admin_key()
S
79 1 3
flush_container_details()
S
65 1 9
get_container_slug_by_string()
S
80 1 3
get_container_id_by_string()
S
78 1 3
get_customer_secret_url()
S
74 1 4
get_customer_admin_url()
S
80 1 3
get_container_status()
S
80 1 3
unsupported_plugins()
S
82 1 3
get_sites_page_url()
S
80 1 3
get_site_template_id()
S
80 1 3
container_screenshot()
S
79 1 3
has_staging()
S
81 1 3
container_api_request()
S
78 1 3
get_customer_container_details()
S
79 1 3
has_bought_product()
S
80 1 3
get_partner_subscription_credits()
S
81 1 3
is_partner_subscription_trial()
S
81 1 3
has_partner_credits()
S
81 1 3
has_partner_subscription()
S
81 1 3
staging_sites_limit_reached()
S
81 1 3
site_limit_reached()
S
81 1 3
get_customer_total_backups()
S
81 1 3
size_limit_reached()
S
81 1 3
storage_available()
S
81 1 3
sites_available()
S
81 1 3
subscription_name()
S
81 1 3
get_available_blueprints()
S
80 1 3
get_site_restores()
S
81 1 3
has_site_backup_notice()
S
74 1 4
get_site_total_backups()
S
80 1 3
can_delete_all_sites()
S
80 1 3